#!/usr/bin/env python
# -*- encoding: utf-8 -*-
from flask import Blueprint

from app.api import book, user, client, token


def create_blueprint():
    api = Blueprint('api', __name__)

    user.view_api.register(api)
    book.view_api.register(api)
    client.view_api.register(api)
    token.view_api.register(api)

    return api
